package com.kcsoft.welcome.pojo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.NonNull;

public class Member {

    private Integer id;

    @NotBlank
    private String name;

    @NotBlank
    private String stuId;

    private String sex;

    private String introduction;

    @NotNull
    private Integer isMem;

    public Member() {
    }

    public Member(String name, String stuId, String sex, String introduction, Integer isMem, Integer id) {
        this.name = name;
        this.stuId = stuId;
        this.sex = sex;
        this.introduction = introduction;
        this.isMem = isMem;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Integer getIsMem() {
        return isMem;
    }

    public void setIsMem(Integer isMem) {
        this.isMem = isMem;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
